#ifndef REGISTER_H
#define REGISTER_H

#include <QWidget>
#include <QTimer>
#include "netserver_udp.h"
#include "error.h"
#include "chat_book_Macrodefine.h"

namespace Ui {
    class Register;
}

class Register : public QWidget
{
    Q_OBJECT

public:
    explicit Register(QWidget *parent = 0,Netserver_udp *getserver = NULL);
    ~Register();
    Netserver_udp *m_StartNetServer;

private:
    Ui::Register *ui;
    QString m_Sex;
    Error m_Error;
    QTimer *m_Timer;

private slots:
    void m_SetBoy();
    void m_SetGirl();
    void m_Refer();
    void m_TimeroutProcess();
    void m_WaitProcess();
};

#endif // REGISTER_H
